namespace CSW.Framework.Common.Utils.StringUtils
{
    /// <summary>
    /// Contains common string formats.
    /// </summary>
    public static class StringFormat
    {
        /// <summary>
        /// Date without time.
        /// </summary>
        public const string Date = "{0:MM/dd/yyyy}";
        /// <summary>
        /// Date and time.
        /// </summary>
        public const string DateTime = "{0:MM/dd/yyyy h:mm tt}";
        /// <summary>
        /// Currency.
        /// </summary>
        public const string Currency = "{0:c}";
        /// <summary>
        /// Currency (excludes cents).
        /// </summary>
        public const string CurrencyNoDecimal = "{0:$#,0}";
        /// <summary>
        /// Percent.
        /// </summary>
        public const string Percent = "{0:0%}";
        /// <summary>
        /// Decimal with 1 place after the decimal.
        /// </summary>
        public const string D1 = "{0:0.0}";
        /// <summary>
        /// Decimal with 2 places after the decimal.
        /// </summary>
        public const string D2 = "{0:0.00}";
        /// <summary>
        /// Decimal with 3 places after the decimal.
        /// </summary>
        public const string D3 = "{0:0.000}";
        /// <summary>
        /// Decimal with 4 places after the decimal.
        /// </summary>
        public const string D4 = "{0:0.0000}";
        /// <summary>
        /// Decimal with 5 places after the decimal.
        /// </summary>
        public const string D5 = "{0:0.00000}";
        /// <summary>
        /// Decimal with 6 places after the decimal.
        /// </summary>
        public const string D6 = "{0:0.000000}";
        /// <summary>
        /// Decimal with 7 places after the decimal.
        /// </summary>
        public const string D7 = "{0:0.0000000}";
        /// <summary>
        /// Decimal with 8 places after the decimal.
        /// </summary>
        public const string D8 = "{0:0.00000000}";
    }
}